package com.content.scaffold.controller.auth;


import com.content.scaffold.common.web.ResultBody;
import lombok.RequiredArgsConstructor;
import lombok.extern.slf4j.Slf4j;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;


/**
 * @author xiaojl
 */

@RestController
@Slf4j
@RequiredArgsConstructor
@RequestMapping("actuator")
public class HealthController {

    @GetMapping("health")
    public ResultBody<Void> health() {
       return ResultBody.ok();
    }
}
